projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee96bc7
)
treesorter tests: Add a comment
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 16 Jul 2020 12:49:38 +0000
(08:49 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 16 Jul 2020 16:14:28 +0000
(12:14 -0400)
This looks like a leak, but isn't one.
Add a comment to that effect.
testsuite/gtk/treesorter.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/treesorter.c
b/testsuite/gtk/treesorter.c
index 6d1e314d3034e520a63af5e6962359f0d57c666f..59a32b5e252b698cd22bc7ea45640b1c7637c4a0 100644
(file)
--- a/
testsuite/gtk/treesorter.c
+++ b/
testsuite/gtk/treesorter.c
@@
-69,6
+69,7
@@
model_to_string (GListModel *model)
if (i > 0)
g_string_append (string, " ");
g_string_append_printf (string, "%u", get_with_parents (object));
+ /* no unref since get_with_parents consumes the ref */
}
return g_string_free (string, FALSE);